using FreeSql.DataAnnotations;
using Newtonsoft.Json;
using System;

namespace ProjectManageSystemApi.DbEntity
{

    /// <summary>
    /// 项目图片关系表
    /// </summary>
    [JsonObject(MemberSerialization.OptIn), Table(Name = "item_image_info", DisableSyncStructure = true)]
	public partial class ItemImageInfo {

		[JsonProperty, Column(Name = "id", IsPrimary = true, IsIdentity = true)]
		public int Id { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		[JsonProperty, Column(Name = "create_time")]
		public DateTime CreateTime { get; set; }

		/// <summary>
		/// 创建用户
		/// </summary>
		[JsonProperty, Column(Name = "create_user", StringLength = 20)]
		public long CreateUser { get; set; }

		/// <summary>
		/// 图片备注
		/// </summary>
		[JsonProperty, Column(Name = "image_desc", StringLength = 100)]
		public string ImageDesc { get; set; }

		/// <summary>
		/// 图片类型(1凭据图片2实际图片)
		/// </summary>
		[JsonProperty, Column(Name = "image_type", DbType = "tinyint(4)")]
		public sbyte ImageType { get; set; }

		/// <summary>
		/// 图片地址
		/// </summary>
		[JsonProperty, Column(Name = "image_url", StringLength = 200)]
		public string ImageUrl { get; set; }

		/// <summary>
		/// 项目id
		/// </summary>
		[JsonProperty, Column(Name = "item_id")]
		public int ItemId { get; set; }

	}

}
